package com.turnengine.client.local.unit.bean;

import com.javabi.codebuilder.generated.IGeneratedBean;

/**
 * The I Storage Item.
 */
public interface IStorageItem extends IGeneratedBean, Comparable<IStorageItem> {

	/**
	 * Returns the parent.
	 * @return the parent.
	 */
	int getParent();

	/**
	 * Returns the group.
	 * @return the group.
	 */
	int getGroup();

	/**
	 * Returns the child.
	 * @return the child.
	 */
	int getChild();

	/**
	 * Returns the size.
	 * @return the size.
	 */
	long getSize();

	/**
	 * Sets the parent.
	 * @param parent the parent to set.
	 */
	void setParent(int parent);

	/**
	 * Sets the group.
	 * @param group the group to set.
	 */
	void setGroup(int group);

	/**
	 * Sets the child.
	 * @param child the child to set.
	 */
	void setChild(int child);

	/**
	 * Sets the size.
	 * @param size the size to set.
	 */
	void setSize(long size);
}
